<div  *ngIf='!editPage'>
	<div class="top_module" *ngIf='!noCompany'>
		<span class="module_text">公司名称</span>
		<div class="company_tree" style="display: inline-block;vertical-align: middle;">
			<div class="clearfix" style="position: relative;">
				<div class="s_hover_box s_fix_radius">
					<input class="form-control tree_company_input"  id="company" name="companyName" (input)="companySearch()" autocomplete="off" [(ngModel)]='companyName' (click)="companyClick()" type="text" placeholder="请选择或输入关键字" />
					<div class="s_del_icon" (click)='delText()'>x</div>
				</div>
				<div class="s_tree_box" id="tree_box">
					<div class="vision_tree" id="vision_tree">
						<div id="tree"></div>
					</div>
				</div>
			</div>
	  	</div>
	</div>
	<div class="top_module"  *ngIf='!noCar'>
		<span class="module_text">车牌号</span>
		<div class="s_hover_box">
			<select   class="select2"  id="carNumberSelect2">
				<option value=''></option>
			</select>
			<div class="s_next_icon" *ngIf="carNumber&&deviceId&&this.carList.length >1">
				<div><div class="arrow_up" (click)="nextCar('pre')" [ngClass]="{not_allow:isAllowPre}"></div></div>
				<div><div class="arrow_down" (click)="nextCar('next')" [ngClass]="{not_allow:isAllowNext}"></div></div>
			</div>
			<div class="s_del_icon" [ngClass]="{next_delIcon:this.carList.length >1}" (click)='del_carNumber()'>x</div>
		</div>
	</div>
</div>

<!--添加页面样式-->
<div *ngIf='editPage'>
	<div class="s_fix_select2"  *ngIf='!noCompany'>
		<div class="form-group clearfix">
			<label class="control-label col-sm-1 no-padding-right">所属公司<sup>*</sup></label>
			<div class="col-sm-10 company_tree">
				<div class="clearfix" style="position: relative;">
					<div class="s_hover_box s_fix_radius" style="width: 100%;height: 32px;line-height: 32px;border:none;border-radius: 0;">
						<input class="form-control" id="company" name="companyName" autocomplete='off' style="height: 32px!important;line-height: 32px;border-radius: 0;"
							(input)="companySearch()" [(ngModel)]='companyName' (click)="companyClick()" type="text" placeholder="请选择或输入关键字" />
						<div class="s_del_icon" (click)='delText()' style="top:8px">x</div>
					</div>
					<div class="s_tree_box" id="tree_box" style="width: 100%;top: 32px;">
						<div class="vision_tree" id="vision_tree">
							<div id="tree"></div>
						</div>
					</div>
				</div>
	      	</div>
		</div>
	</div>
	<div class="form-group"  *ngIf='!noCar'>
		<div class="s_fix_select2" >
			<label class="control-label col-sm-1 no-padding-right">车牌号码<sup>*</sup></label>
			<div class="col-sm-10">
				<div class="s_hover_box" style="width: 100%;">
					<select   class="select2 form-control" style="width:100%" name="carNumber" id="carNumberSelect2">
						<option value=''></option>
					</select>
					<div class="s_del_icon" (click)='del_carNumber()'>x</div>
				</div>
			</div>
		</div>
	</div>
</div>